package com.ymatou.iapi.trading.sellerquery.parameter.orderquery;

import java.math.BigDecimal;
import java.util.List;

public class GetOrderFlowsResult {
	private SimpleOrderInfo OrderInfo;
	private List<FlowsDetail> Flows;

	public SimpleOrderInfo getOrderInfo() {
		return OrderInfo;
	}

	public void setOrderInfo(SimpleOrderInfo orderInfo) {
		OrderInfo = orderInfo;
	}

	public List<FlowsDetail> getFlows() {
		return Flows;
	}

	public void setFlows(List<FlowsDetail> flows) {
		Flows = flows;
	}

	public static class SimpleOrderInfo {
		private int OrderId;
		private boolean Shangou;

		public int getOrderId() {
			return OrderId;
		}

		public void setOrderId(int orderId) {
			OrderId = orderId;
		}

		public boolean isShangou() {
			return Shangou;
		}

		public void setShangou(boolean shangou) {
			Shangou = shangou;
		}
	}

	public static class FlowsDetail {
		private BigDecimal Cash = BigDecimal.ZERO;
		private BigDecimal Coupon = BigDecimal.ZERO;
		private BigDecimal Freight = BigDecimal.ZERO;
		private BigDecimal Gift = BigDecimal.ZERO;
		private BigDecimal Total = BigDecimal.ZERO;
		private int CouponChannel;
		private String CouponCode;
		private String Evidence;
		private BigDecimal FreeCard = BigDecimal.ZERO;
		private boolean IsIncoming;
		private int Operation;
		private BigDecimal PriceChange = BigDecimal.ZERO;
		private String Time;
		
		public BigDecimal getCash() {
			return Cash;
		}

		public void setCash(BigDecimal cash) {
			Cash = cash;
		}

		public BigDecimal getCoupon() {
			return Coupon;
		}

		public void setCoupon(BigDecimal coupon) {
			Coupon = coupon;
		}

		public BigDecimal getFreight() {
			return Freight;
		}

		public void setFreight(BigDecimal freight) {
			Freight = freight;
		}

		public BigDecimal getGift() {
			return Gift;
		}

		public void setGift(BigDecimal gift) {
			Gift = gift;
		}

		public BigDecimal getTotal() {
			return Total;
		}

		public void setTotal(BigDecimal total) {
			Total = total;
		}

		public int getCouponChannel() {
			return CouponChannel;
		}

		public void setCouponChannel(int couponChannel) {
			CouponChannel = couponChannel;
		}

		public String getCouponCode() {
			return CouponCode;
		}

		public void setCouponCode(String couponCode) {
			CouponCode = couponCode;
		}

		public String getEvidence() {
			return Evidence;
		}

		public void setEvidence(String evidence) {
			Evidence = evidence;
		}

		public BigDecimal getFreeCard() {
			return FreeCard;
		}

		public void setFreeCard(BigDecimal freeCard) {
			FreeCard = freeCard;
		}

		public boolean isIsIncoming() {
			return IsIncoming;
		}

		public void setIsIncoming(boolean isIncoming) {
			IsIncoming = isIncoming;
		}

		public int getOperation() {
			return Operation;
		}

		public void setOperation(int operation) {
			Operation = operation;
		}

		public BigDecimal getPriceChange() {
			return PriceChange;
		}

		public void setPriceChange(BigDecimal priceChange) {
			PriceChange = priceChange;
		}

		public String getTime() {
			return Time;
		}

		public void setTime(String time) {
			Time = time;
		}
	}
}
